package jxtend.processor.eclipse.visitor.handler.impl;

import org.eclipse.jdt.internal.compiler.lookup.TypeConstants;

@SuppressWarnings("restriction")
public final class JxtendTypeConstants {
	public static final char[] JXTEND = "jxtend".toCharArray(); //$NON-NLS-1$
	public static final char[] ANNOTATION = "annotation".toCharArray(); //$NON-NLS-1$
	public static final char[] KEYWORD = "keyword".toCharArray(); //$NON-NLS-1$
	public static final char[] RUNTIME = "runtime".toCharArray(); //$NON-NLS-1$
	public static final char[] INTERNAL = "internal".toCharArray(); //$NON-NLS-1$
	public static final char[] JXTEND_INTERNAL_UTILS = "JxtendInternalUtils".toCharArray(); //$NON-NLS-1$

	public static final char[] VAL = "val".toCharArray(); //$NON-NLS-1$
	public static final char[] VAR = "var".toCharArray(); //$NON-NLS-1$
	public static final char[] UNDERSCORE = "_".toCharArray(); //$NON-NLS-1$
	public static final char[] INTERNAL_ARGUMENT_PREFIX = "$".toCharArray(); //$NON-NLS-1$
	public static final char[] SAM_TOKEN = "$sam".toCharArray(); //$NON-NLS-1$
	public static final char[] AS_METHOD = "as".toCharArray(); //$NON-NLS-1$
	public static final char[] INSTANCE_OF_METHOD = "instanceOf".toCharArray(); //$NON-NLS-1$

	public static final char[][] JXTEND_ANNOTATION_KEYWORD = { JXTEND, ANNOTATION, KEYWORD };
	public static final char[][] QUALIFIED_JXTEND_INTERNAL_UTILS = { JXTEND, RUNTIME, INTERNAL, JXTEND_INTERNAL_UTILS };
	public static final char[][] SAM_TOKEN_CLASS = { JXTEND, RUNTIME, INTERNAL, SAM_TOKEN };
	public static final char[][] COLLECTION_INFERENCE_UTILS =
		{ JXTEND, RUNTIME, INTERNAL, "CollectionInferenceUtils".toCharArray() };

	public static final char[][] JAVA_UTIL_LIST = {TypeConstants.JAVA, TypeConstants.UTIL, "List".toCharArray()}; //$NON-NLS-1$
	public static final char[][] JAVA_UTIL_MAP = {TypeConstants.JAVA, TypeConstants.UTIL, "Map".toCharArray()}; //$NON-NLS-1$
	public static final char[][] JAVA_UTIL_ARRAYS = {TypeConstants.JAVA, TypeConstants.UTIL, "Arrays".toCharArray()}; //$NON-NLS-1$
}
